..Help .Objects

Decay

A first order lowpass filter than can be used as a diode detector as well.

Pins
io letter name unit description
in X input auto input signal
D decay rate seconds RC time constant
out = auto filtered input signal

Parameters
name option key description
mode above a when to accumulate the input signal
belowb
botho

Notes
The decay filter is identical to an RC circuit in electronics. An optional diode may be placed before the input resistor.
In above mode, if the input signal is above the output value, the output value will rise. Otherwise it will fall twords zero. Below mode is the opposite.
Both mode removes the diode from the circuit, causing the output to always follow the input.
If D is not connected, a default value of 0.01 is used. Negative values of D are converted to positive values.




©1999-2002 Andy J Turner
All rights reserved.